import request from "../utils/request";
// 轮播图相关接口

// 请求轮播图
export const bannerDataApi = () => request.get('/banner/list')

// 删除轮播图
export const bannerDeleteApi = (bannerid) => request.get('/banner/delete',{ params: { bannerid } })

// 删除全部轮播图
export const bannerRemoveAllApi = () => request.get('/banner/removeAll')

// 上传轮播图
export const bannerUploadApi = (params) => request.post('/banner/add',params)
